Creating a browser profile

You can create a browser profile by modifying an existing profile. For example, to create a profile for Netscape Navigator 5.0, you can open the profile for Navigator 4.0, add any new tags or attributes introduced in version 5.0, and save the profile as Netscape Navigator 5.0.


To create a browser profile:
1 Using a text editor, open the profile that most closely resembles the profile you intend to create, or open the profile that you want to change.
2 Add any new tags or attributes you know to be supported by the browser according to the syntax shown in About browser profiles.
If you don't want to receive error messages about a certain unsupported tag, add it to the list of supported tags. If you include unsupported tags in the list of supported tags, save the profile to a separate file (such as "Browsername x.x limited"). Renaming the profile preserves the original profile with only the tags that are truly supported.
3 Delete any tags or attributes that are not supported by the browser.
This step is unnecessary if you are creating a profile for the next version of Netscape Navigator or Microsoft Internet Explorer, because browsers rarely drop support for tags.
4 Add any custom error messages according to the syntax shown in About browser profiles.
The profiles that come with Dreamweaver list all supported tags, and they include commented-out lines with some commonly used but unsupported tags. To add a custom error message, remove the two hyphens at the beginning of the line and add either !msg "message" or !htmlmsg "<tag>message</tag>" after the !Error. For example, this notation might appear in the Netscape Navigator 3.0 profile:
<!ELEMENT HR name="Horizontal Rule" >
<!ATTLIST HR
--  COLOR    !Error
>
To add a custom error message, remove the hyphens and add your message, preceded by !msg:
<!ELEMENT HR name="Horizontal Rule" >
<!ATTLIST HR
COLOR    !Error !msg "Internet Explorer 3.0 supports COLOR in horizontal rules, but Netscape Navigator 3.0 does not."
>